package com.qifenqian.turbot.module.entity.response.marketing

/**
 * @author H
 * @createTime 2019/1/22 09:24
 * @description 满减界面 上传/请求
 * @see
 * @since
 */
data class FullReductionEntity(
        var isOpen: Int = -1, // 1
        var startTime: String = "", // 2019-01-17 00:00:00
        var endTime: String = "", // 2019-01-23 23:59:59
        var isShare: Int = -1, // 1
        var priority: Int = -1, // 4
        var moneyOffAmountList: MutableList<MoneyOffAmount>,
        var restaurantId: Int = -1  //上传需要
                              ) {

    data class MoneyOffAmount(
            var id: Int = -1, // 2
            var moneyOffId: Int = -1, // 1
            var expenseAmount: Double = -1.0, // 5000
            var reduceAmount: Double = -1.0 // 1000
                             )
}
